package com.ruoyi.domain.inventory;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 仓库信息对象 mes_warehouse
 * 
 * @author ruoyi
 */
@Data
public class MesWarehouse extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 仓库ID
     */
    private Long warehouseId;

    /**
     * 仓库编码
     */
    @Excel(name = "仓库编码")
    private String warehouseCode;

    /**
     * 仓库名称
     */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /**
     * 仓库类型（原料仓/半成品仓/成品仓）
     */
    @Excel(name = "仓库类型", readConverterExp = "原料仓/半成品仓/成品仓")
    private String warehouseType;

    /**
     * 位置
     */
    @Excel(name = "位置")
    private String location;

    /**
     * 面积(平方米)
     */
    @Excel(name = "面积(平方米)")
    private BigDecimal area;

    /**
     * 负责人
     */
    @Excel(name = "负责人")
    private String chargePerson;

    /**
     * 联系电话
     */
    @Excel(name = "联系电话")
    private String phone;

    /**
     * 状态（0正常 1停用）
     */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;
}